// 定义token持久化的操作方法
const key = 'geek-pc-token'
const getToken = () => {
  return window.localStorage.getItem(key)
}
const setToken = (token) => {
  return window.localStorage.setItem(key, token)
}
const removeToken = () => {
  return window.localStorage.removeItem(key)
}
export { getToken, setToken, removeToken }